package com.shrcl.engineerprocess.domain.events;

import com.shrcl.engineerprocess.domain.EngineerProjectJob;
import com.shrcl.engineerprocess.domain.EngineerWorkOrder;
import edu.fudan.mylang.pf.event.IEntityEventsListner;
import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;

public interface EngineerProjectJobEventsListener extends IEntityEventsListner<EngineerProjectJob> {
  public abstract void execute(final EngineerProjectJob entity);
  
  public abstract void finish(final EngineerProjectJob entity);
  
  public abstract void createWorkOrder(final EngineerProjectJob entity, final Procedure1<? super EngineerWorkOrder> init);
  
  public abstract void delWorkOrder(final EngineerProjectJob entity, final EngineerWorkOrder engineerWorkOrder);
  
  public abstract void $workOrderFinish(final EngineerProjectJob entity);
}
